html,body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: url(/assets/images/login_bg.jpg) no-repeat center;
    background-size: cover;
}
.loginAndRegBox{
    width: 400px;
    height: 310px;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.title-box{
    height: 60px;
    background: url("/assets/images/login_title.png") no-repeat center;
}
/* ============= */
.reg-box{
    display: none;
}

.layui-form-item,.login-item{
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    color: #333;
  
}
.registry,.login{
    padding-top: 20px;
}
.my-icon-parent{
    position: relative;
}
.my-icon-parent .layui-icon{
        position: absolute;
        top: 9px;
        left: 8px;
}
.layui-input{
    box-sizing: border-box;
    padding-left: 30px;
}

.layui-form {
    padding: 0 30px;
  }
  
  .links {
    display: flex;
    justify-content: flex-end;
  }
  
  .links a {
    font-size: 12px;
  }

  .layui-form-item {
    position: relative;
  }
  
  .layui-icon {
    position: absolute;
    left: 10px;
    top: 10px;
  }
  
  .layui-input {
    padding-left: 32px;
  }